Astrocade Tape Program Archive Record
-------------------------------------

Program Name:  The Collatz Conjecture
Filenames      Collatz Conjecture, The (1984)(Jim Dunson)(2000 baud).wav
Released by:   Jim Dunson
Appearance:    Astro-Bugs Club Tape #5
               August 1984


Description
-----------

This is a 2000 baud BASIC program for use with a Bally Astrocade and Astrobasic.

This program is a mathmatical demonstration.

Instructions
------------

From the game loading screen:

About 30 years ago [1937] a professor named
Collatz created this thought provoker.
Start with any whole number.  If it is
odd, triple it +1. If it is even, take
half.  Repeat. The final result will
always be one. Why is that?  After all, the
odd number is tripled + 1. This more than
compensates for the halves???
Send your explanation to me, Jim Dunson
13900 River Rd., Perdido Key, FL 32507

For more information about this, check out the Internet:

http://en.wikipedia.org/wiki/Collatz_conjecture


Sample Run
----------

Sample program run:

THE COLLATZ CONJECTURE

START WITH ANY WHOLE  NUM-
BER.  IF IT IS ODD, TRIPLE
IT +1. IF IT IS EVEN, TAKE
HALF.  REPEAT.  THE  FINAL
RESULT WILL ALWAYS BE ONE.
I WILL COMPUTE FOR YOU.

INPUT A NUMBER

[The program now will run for a while, printing the
results on screen until the answer is one, then it
will ask for another number.]


Loading Instructions
--------------------

Plug audio cable into Astrobasic cartridge and headphone jack of computer speakers, then load program from Astrobasic with

:INPUT;RUN

Press GO.  Then start playing the wav file; the program will start to load and will run automatically.

END OF FILE